const Home = (resolve) => {
  import('views/Home/Home' /* webpackChunkName: 'Home' */).then((module) => {
    resolve(module)
  })
}
const Login = (resolve) => {
  import('views/Login/Login' /* webpackChunkName: 'Login' */).then((module) => {
    resolve(module)
  })
}
const CallCenter = (resolve) => {
  import('views/CallCenter/CallCenter' /* webpackChunkName: 'CallCenter' */).then((module) => {
    resolve(module)
  })
}
const CompanyOperates = (resolve) => {
  import('views/CompanyOperates/CompanyOperates' /* webpackChunkName: 'CompanyOperates' */).then((module) => {
    resolve(module)
  })
}
const CallCenterDetail = (resolve) => {
  import('views/CallCenterDetail/CallCenterDetail' /* webpackChunkName: 'CallCenterDetail' */).then((module) => {
    resolve(module)
  })
}
const HealthDegree = (resolve) => {
  import('views/HealthDegree/HealthDegree' /* webpackChunkName: 'HealthDegree' */).then((module) => {
    resolve(module)
  })
}
const Video = (resolve) => {
  import('views/Video/Video' /* webpackChunkName: 'Video' */).then((module) => {
    resolve(module)
  })
}
const CompanyHealth = (resolve) => {
  import('views/HealthDegree/CompanyHealth' /* webpackChunkName: 'CompanyHealth' */).then((module) => {
    resolve(module)
  })
}
const ReloadBack = (resolve) => {
  import('views/Reload/ReloadBack' /* webpackChunkName: 'ReloadBack' */).then((module) => {
    resolve(module)
  })
}
const CompanyOperatesDetail = (resolve) => {
  import('views/CompanyOperatesDetail/CompanyOperatesDetail' /* webpackChunkName: 'CompanyOperatesDetail' */).then((module) => {
    resolve(module)
  })
}
// const Community = (resolve) => {
//   import('views/HealthDegree/Community' /* webpackChunkName: 'Community' */).then((module) => {
//     resolve(module)
//   })
// }

export default [
  {
    path: '/home',
    component: Home,
    name: 'Home',
    meta: {
      requireAuth: true,
    }
  },
  {
    path: '/login',
    component: Login,
    name: 'Login'
  },
  {
    path: '/callcenter',
    component: CallCenter,
    name: 'CallCenter',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/companyoperates',
    component: CompanyOperates,
    name: 'CompanyOperates',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/companyoperatesdetail',
    component: CompanyOperatesDetail,
    name: 'CompanyOperatesDetail',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/callcenterdetail',
    component: CallCenterDetail,
    name: 'CallCenterDetail',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/healthdegree',
    component: HealthDegree,
    name: 'HealthDegree',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/companyhealth',
    component: CompanyHealth,
    name: 'CompanyHealth',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '/video',
    component: Video,
    name: 'Video',
    meta: {
      requireAuth: true
    }
  },
  // {
  //   path: '/community',
  //   component: Community,
  //   name: 'Community',
  //   meta: {
  //     requireAuth: true
  //   }
  // },
  {
    path: '/reloadback',
    component: ReloadBack,
    name: 'ReloadBack',
    meta: {
      requireAuth: true
    }
  },
  {
    path: '*',
    redirect: '/login'
  }
]
